From: Kenichi Handa Date: Thu, 13 Mar 2003 06:27:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~53011 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f05394cca81679201bbdd24db07b9c41472be1ec;p=emacs.git *** empty log message *** --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index c25b7402260..f1708d9ccc6 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2126,6 +2126,9 @@ This is in addition to, but in preference to, the primary selection." (cond ((>= (length text) x-cut-buffer-max) (x-set-cut-buffer "" push) (setq x-last-selected-text-cut "")) + ;; Don't store a multibyte string that contains + ;; eight-bit-control/graphic chars because they can't be + ;; restored correctly by x-get-cut-buffer. ((and (multibyte-string-p text) (let ((charsets (find-charset-string text))) (or (memq 'eight-bit-control charsets)